<% if @inline %>
    <%= render :partial => 'inline_search_form' %>
<% else %>
    <%= render :partial => 'search_form' %>
<% end %>